package com.qing.consumer.server.service;

import com.qing.provider.server.service.HelloService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @DubboReference(version = "1.0.0")
    private HelloService helloService;


    public void say(){
        System.out.println(helloService.say());
    }
}
